<template>
  <div>
  
    <el-button type="info" size="mini" @click="getDocDetail">文档</el-button>
    <router-view/>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    getDocDetail() {
        this.$router.push({
            path: '/layout/docDetail',
            query:{name:this.$route.query.name}
        })
    },
  },
};
</script>